package com.ruoyi.behavior.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.behavior.domain.vo.RepliesVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SpuReviewDto {
    private Long id;
    @JsonIgnore
    private Long spuId;
    private String userName;
    private String avator;
    private Integer rate;
    private String title;
    private String reviewDescription;
    @JsonIgnore
    private Date createdTime;
    @JsonIgnore
    private Long likes;
    @JsonIgnore
    private Integer imageCount;

    SkuReviewDto skuInfo;
    List<String> reviewUrls;
    List<RepliesVo> replies;
    @JsonIgnore
    private List<String> urls;
    @JsonIgnore
    private Long skuId;
    @JsonIgnore
    private String code;
    @JsonIgnore
    private String skuName;
    @JsonIgnore
    private String description;
    @JsonIgnore
    private Integer status;
    @JsonIgnore
    private BigDecimal price;
    @JsonIgnore
    private BigDecimal originalPrice;
    @JsonIgnore
    private String url;

    @JsonIgnore
    private Long replyId;
    @JsonIgnore
    private Long reviewId;
    @JsonIgnore
    private Long userId;
    @JsonIgnore
    private Long parentId;
    @JsonIgnore
    private Long replyToUserId;
    @JsonIgnore
    private String content;

}
